﻿using System;

namespace ConsoleApp11
{
    class Program
    {
        static void Main(string[] args)
        {
            int[] nums = new int[] { 97, 65, 32, 17, 58, 43, 79, 81, 23, 10 };
            
            for (int j = 0; j < nums.Length; j++)
            {
                for (int i = 0; i < nums.Length; i++)
                {
                    if (nums[j] > nums[i])
                    {
                        int temp = nums[j];

                        nums[j] = nums[i];
                        nums[i] = temp;
                    }
                }
            }
            string str = "";
            for (int z = 0; z < nums.Length; z++)
            {
                str += nums[z].ToString() + ",";
            }
            Console.WriteLine(str);
            Console.ReadKey();
            
               

        }
    }
}
